<%--
  User: cjp
  Date: 2007-7-11
  Time: 22:29:31
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/common/taglib.jsp"%>
<html>
  <head><title>搜索结果</title></head>
  <body>
  <div class="maintable"><br>
<div class="subtable nav" style="width: 100%">
<f:nav/>»搜索
</div><br>

<table width="100%" cellspacing="0" cellpadding="0" align="center" style="margin-bottom: 5px">
<tr><td valign="bottom"></td></tr>
</table>

<div class="spaceborder spacebottom" style="width: 100%; clear: both">
<table cellspacing="0" cellpadding="5" width="100%" style="table-layout: fixed; word-wrap: break-word">
<tr class="header">
<td align="center" width="43%">标题</td>
<td align="center" width="14%">论坛</td>
<td align="center" width="12%">作者</td>
<td align="center" width="12%">回复/查看</td>
<td align="center" width="19%">最后发表</td>
</tr>

    <c:forEach items="${actionBean.topics.elements}" var="topic">
<tr class="row" onMouseOver="this.style.backgroundColor='#F3FDF2'" onMouseOut="this.style.backgroundColor='#FFF'">
<td class="subject">
<!--<div class="right">
</div>-->
<a href="${ctx}/thread.do?tid=${topic.id}" target="_blank" >${topic.title}</a><!--<span class="smalltxt"></span>-->
    <label style="float:right;">
                                    <c:if test="${topic.toped}"><img src="${skinPath}/imgs/top.gif"
                                                                     alt="置顶"/></c:if>

                                    <c:if test="${topic.status==1}"><img src="${skinPath}/imgs/digest.gif"
                                                                         alt="精华"/></c:if>
                                    &nbsp;</label>
</td>
<td align="center"><a href="${ctx}/forum.do?forumId=${topic.forumId}">${forums[topic.forumId].name}</a></td>
<td align="center">
<a href="space-uid-1.html">${empty topic.authorName?"匿名":topic.authorName}</a>
<br><span class="smalltxt lighttxt">${i:cnDate(topic.createTime)}</span></td>
<td align="center">0 / <span class="lighttxt">5</span></td>
<td align="center">
<a href="space-username-cjp472.html">${empty topic.lastPost.authorName?"匿名":topic.lastPost.authorName}</a>
<br><span class="smalltxt"><a href="redirect.php?tid=6&amp;goto=lastpost#lastpost">${i:cnTime(topic.lastPost.createTime)}</a></span>
</td>
</tr>
</c:forEach>
</table></div>

<div class="subtable" style="width: 100%; margin-top: 5px">
</div>

      <div class="maintable" style="clear:both">
    <table width="100%" cellspacing="0" cellpadding="0" align="center" style="margin-bottom: 5px">
        <tr>
            <td valign="bottom">
                <i:page curPage="${actionBean.topics.pageNumber}" totalCount="${actionBean.topics.totalElements}"
                        viewCount="${actionBean.topics.pageSize}"></i:page>
            </td>
           
        </tr>
    </table>
</div>
<br>
<br>
</div>
  </body>
</html>